import styles from "./styles.json";
import { toStyleString } from "./stringify.js";

export default function () {
    const styleEl = document.createElement("style");
    styleEl.setAttribute("type", "text/css");
    styleEl.innerText = toStyleString(styles);
    document.head.appendChild(styleEl);
}